#include <BulletClassDataSource/ObjectBullet.h>
#include <osg/Node>
#include <iostream>
#include <EDesignerCore.h>
#include <QDateTime>

#include <EngineFunctions.h>
#include <PhysicsWorldFunctions.h>

ObjectBullet::ObjectBullet( QObject *parent /*= 0*/ ) : EObject(parent)
{
    m_info = new NodeInfoContainerBullet;
    m_info->setObjectInspectorItem(this->getObjItem());
    refreshItemTest();
}

ObjectBullet::~ObjectBullet()
{
    delete m_info;
}
void ObjectBullet::refreshItemTest()
{
    setEObjectName(this->metaObject()->className() + QString("-"));
}

void ObjectBullet::refreshInfoContainer()
{
    m_info->setObjectInspectorItem(this->getObjItem());
}

NodeInfoContainerBullet *ObjectBullet::getInfoContainer()
{
    return m_info;
}
